

module.exports = Behavior({

    methods: {
        getRouteMap() {
            const routeMap = {
                '容器库': '/packageB/pages/package/task_details_manage/pfef2/container_tb/container_tb',
                '辅材库': '/packageB/pages/package/task_details_manage/pfef2/container_tb/container_tb', // 和容器库共用
                '供应商容器辅材申请': '/packageB/pages/package/task_details_manage/pfef2/supply_container_tb/supply_container_tb',
                '临时包装标准': '/packageB/pages/package/task_details_manage/pfef2/temp_package_infos/index',
                '供应商维护': '/packageB/pages/package/task_details_manage/pfef2/standard_doc_tb/standard_doc_tb',
                '来料包装模版': '/packageB/pages/package/task_details_manage/pfef2/template_tb/template_tb',
                '工装容器监督检查': '/packageB/pages/package/task_details_manage/container/container_inspection/container_inspection',
                '物料包装改善建议': '/packageB/pages/package/task_details_manage/container/advise_manage/advise_manage',
                '5S监督检查': '/packageC/pages/package/gonzhuangronqiguanli/5S_manage/5S_handling/handling',
                '洛阳工艺监督': '/packageC/pages/package/gonzhuangronqiguanli/luoyang_manage/luoyang_handling_list/luoyang_handling_list',
            };
            return routeMap

        },


        getFIlterData() {
            const filter_obj = {

                filter_arr1: [
                    {
                        name: "供应商注册",
                        database: "package_integrate",
                        table_name: "register_supply_users",
                        type: "default",

                    },
                    {
                        name: "第三方物流申请",
                        database: "package_integrate",
                        table_name: "register_third_users",
                        type: "default"
                    },
                    {
                        name: "容器认证",
                        database: "package_integrate",
                        table_name: "container_auths",
                        type: "default"
                    },
                    {
                        name: "公司授权",
                        database: "package_integrate",
                        table_name: "company_auths",
                        type: "default"
                    },
                    {
                        name: "人员授权",
                        database: "package_integrate",
                        table_name: "people_auths",
                        type: "default"
                    },
                    {
                        name: "容器出门",
                        database: "package_integrate",
                        table_name: "container_outdoor",
                        type: "default"
                    },
                    {
                        name: "通用授权",
                        database: "package_integrate",
                        table_name: "general_auths",
                        type: "default"
                    },
                    {
                        name: "添加容器清单",
                        database: "package_integrate",
                        table_name: "add_containers_business",
                        type: "default"
                    },
                    {
                        name: "外来人员进入仓库",
                        database: "package_integrate",
                        table_name: "external_personnel_entry",
                        type: "default"
                    },
                    {
                        name: "退货出门申请",
                        database: "package_integrate",
                        table_name: "ths",
                        type: "default"
                    },
                    {
                        name: "外部用户申请重置密码",
                        database: "package_integrate",
                        table_name: "outer_user_apply_reset_pswd",
                        type: "default"
                    },
                    {
                        name: "外部用户申请更换手机号",
                        database: "package_integrate",
                        table_name: "outer_user_change_phone",
                        type: "default"
                    },
                ],
                filter_arr2: [
                    {
                        name: "来料包装模板",
                        table_name: "template_tb",
                        type: "default",

                    },
                    {
                        name: "容器辅材库",
                        table_name: "container_tb",
                        type: "default"
                    },
                    {
                        name: "供应商维护",
                        table_name: "standard_doc_tb",
                        type: "default"
                    },
                    {
                        name: "供应商容器辅材申请",
                        table_name: "supply_container_tb",
                        type: "default"
                    },
                    {
                        name: "临时包装标准",
                        table_name: "temp_package_infos",
                        type: "default"
                    },

                ],
                filter_arr3: [
                    {
                        name: "监督反馈",
                        database: "containers",
                        table_name: "problem_all",
                        type: "default",

                    },
                    {
                        name: "物料包装改善建议",
                        database: "containers",
                        table_name: "service_all",
                        type: "default",

                    },
                    {
                        name: "5S监督检查",
                        database: "containers",
                        table_name: "fiveS_all",
                        type: "default",

                    },
                    {
                        name: "工艺监督",
                        database: "process_supervision",
                        table_name: "luoyang_process_problem",
                        type: "default",

                    },


                ],
                filter_arr4: [
                    {
                        name: "长期备案",
                        database: "vehicle_reservation",
                        table_name: "reservation",
                        type: "default",

                    },
                    {
                        name: "临时预约",
                        database: "vehicle_reservation",
                        table_name: "temp_reservation",
                        type: "default",

                    },



                ],
            }

            return filter_obj
        }



    }
})